/*
 */
package org.vectrics.recruiter.job;

import java.util.Date;

import org.vectrics.common.db.RecordObject;
import org.vectrics.recruiter.user.Resume;
import org.vectrics.user.Person;

/**
 * @author mmoore
 */
public class JobApplication implements RecordObject {
	private Long id = null;
    private Job job = null;
    private Person person = null;
    private Resume resume = null;
    private String coverLetter = null;
    private Date dateStart = null;
    private Date dateEnd = null;
    private boolean applicantInitiated = true;
    
   
    
	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return Returns the applicantInitiated.
	 */
	public boolean getApplicantInitiated() {
		return applicantInitiated;
	}
	/**
	 * @param applicantInitiated The applicantInitiated to set.
	 */
	public void setApplicantInitiated(boolean applicantInitiated) {
		this.applicantInitiated = applicantInitiated;
	}
	/**
	 * @return Returns the dateEnd.
	 */
	public Date getDateEnd() {
		return dateEnd;
	}
	/**
	 * @param dateEnd The dateEnd to set.
	 */
	public void setDateEnd(Date dateEnd) {
		this.dateEnd = dateEnd;
	}
	/**
	 * @return Returns the dateStart.
	 */
	public Date getDateStart() {
		return dateStart;
	}
	/**
	 * @param dateStart The dateStart to set.
	 */
	public void setDateStart(Date dateStart) {
		this.dateStart = dateStart;
	}
	/**
	 * @return Returns the job.
	 */
	public Job getJob() {
		return job;
	}
	/**
	 * @param job The job to set.
	 */
	public void setJob(Job job) {
		this.job = job;
	}
	/**
	 * @return Returns the person.
	 */
	public Person getPerson() {
		return person;
	}
	/**
	 * @param person The person to set.
	 */
	public void setPerson(Person person) {
		this.person = person;
	}
	/**
	 * @return Returns the resume.
	 */
	public Resume getResume() {
		return resume;
	}
	/**
	 * @param resume The resume to set.
	 */
	public void setResume(Resume resume) {
		this.resume = resume;
	}
	
	
	/**
	 * @return Returns the coverLetter.
	 */
	public String getCoverLetter() {
		return coverLetter;
	}
	/**
	 * @param coverLetter The coverLetter to set.
	 */
	public void setCoverLetter(String coverLetter) {
		this.coverLetter = coverLetter;
	}
}
